package com.scwatch.core.service;

import com.scwatch.common.orm.Limitable;
import com.scwatch.core.domain.PushMsg;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface PushMsgService {

    Page<PushMsg> findAll(final  Integer siteId,Map<String, String[]> params, Pageable pageable);

    List<PushMsg> findAll(final  Integer siteId,Map<String, String[]> params, Limitable limitable);

    PushMsg save(PushMsg bean);

    PushMsg findById(Integer id);

    void delete(PushMsg bean);

    PushMsg[]  delete(Integer[] ids);
}
